const { merge } = require('webpack-merge')
const common = require('./webpack.common')

module.exports = merge(common, {
  mode: "development",
  devtool: 'inline-source-map',
  devServer: {
    contentBase: "../dist"
  },
  optimization: {
    usedExports: true,
  },
  module: {
    // rules: [
    //   {
    //     use: /\.js$/,
    //     loader: 'babel-loader',
    //     sideEffects: false,
    //   }
    // ]
  }
})